package com.newmainsoftech.dao.entity.relation;

import java.lang.reflect.Method;

public interface BiLinkQueueProxy<R extends HolderSide<E>, E extends HoldeeSide<R>> 
extends BiLinkCollectionProxy<R, E> {
	/**
	 * To handle invocation of <code>poll()</code> method of <code>Queue</code> 
	 * interface.<br /> 
	 * 
	 * @param proxy
	 * @param method
	 * @return
	 */
	Object interPoll( Object proxy, Method method);
	/**
	 * To handle invocation of <code>offer( E e)</code> method of <code>Queue</code> 
	 * interface.<br /> 
	 * 
	 * @param proxy
	 * @param method
	 * @param holdee
	 * @return
	 */
	Object interOffer( Object proxy, Method method, E holdee);	
}
